<div>

  <div class="modal-card">
    <label>
      <span><span class="require">*</span>名称</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="customerDiscountName" [(ngModel)]="form.customerDiscountName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!form.customerDiscountName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span><span class="require">*</span>折扣率(%)</span>
    </label>
    <d-input-number [min]="0" [(ngModel)]="discount" class="input-number form-input-box" name="discount" [max]="100" (ngModelChange)="ngModelChange()"></d-input-number>
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!form.discount">*值不能为空</div>
  </div>

</div>
